package com.xms.web.view.customize;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.UUID;

/**
 * <p>
 * OptionSetViewController
 * </p>
 *
 * @author migo
 * @since 2021/9/15
 */
@Controller
@RequestMapping("{org}/customize/optionset")
public class OptionSetViewController {
    private static final String MODULE_PATH = "customize/optionset";

    @RequestMapping("index")
    public String index(){
        return MODULE_PATH + "/index";
    }

    @RequestMapping("create")
    public String create(){
        return MODULE_PATH + "/create";
    }
    @RequestMapping("edit")
    public String edit(@RequestParam(value="id", required = true) UUID id){
        return MODULE_PATH + "/edit";
    }
}
